Repository navigation
fix(libSceAgc): encode jumps as the console does - #19320
Merged
oneandonlydean merged 2 commits intoNov 16, 2026
Merged
Conversation
The jump builders now mask the mode, cache policy, size and target as prosper's console measurements show instead of refusing them, and an ACB jump sets bit 23 of the INDIRECT_BUFFER control word where a DCB jump sets bit 21, which every measured ACB jump does. Six oracle rows now match. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Windows check of head
AI-assisted: yes. |
This was referenced Nov 13, 2026
|
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
12 tasks done
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
12 tasks done
12 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
sceAgcDcbJumpandsceAgcAcbJumpdiffer from the console in two ways. Both are measured in prosper's console measurements (agcbuild_{Acb,Dcb}Jump_a/b/c).1. Arguments the console accepts:
2. The ACB control word:
0x1f933333,0x1f900003and0x2f900000.0x2f344444,0x2f300004and0x0f200000.WriteJumpnow takes a compute flag, asWriteWaitdoes.Submission.cpptakes only the target, size and chain bit. Nor is either read by the jump patch functions. So execution is unchanged.Valid DCB arguments still produce the same packets. All six rows now match the console and are removed from
known.tsv.Not changed:
sceAgcJumpPatchSetTargetandsceAgcJumpPatchSetTarget_0300still refuse those values. Patch functions are not in the measurements.Sources: the rows above, from prosper's pinned console measurements, SHA-256
aa6cc7b818a1016c20732e4547cea8c12b0472aec681bcf11f8f9a3c897f7de3, checked bylibrary_oracle.py.Tests, in
testFlowPackets(tests/Commands.cpp):expectFailurecases for those arguments are replaced by the six console cases, word for word.0x1f300010to0x1f900010.Tested
Windows 10 22H2, AMD Radeon RX 6750 XT (gfx1031), Adrenalin 26.10.1 (driver 32.0.21045.16010), WinLibs GCC 15.2, Release. Main
a6606d5bab, changee8d6d0c773.known.tsv: 98 compared, 0 new, and exactly the six Jump rows reported as now matching;known.tsv: 150 known findings, 0 new, 0 now matching.ctest -R '^(agc_commands|agc_driver_pm4|agc_driver_job_manager_compute|agc_driver_queued_index_read_order|agc_driver_queued_indirect_read_order|agc_driver_frame_replay.*)$'passes 48/48.agc_driver_frame_replay*tests submit DCB jump chains built bysceAgcDcbJumpand follow them throughSubmission.cpp.agc_driver_pm4covers the driver's INDIRECT_BUFFER decoding.VK_LAYER_KHRONOS_validation1.4.367, with 0VUID-lines and no missing-layer warnings.sceAgcAcbJump.agc_commandsfails withcompute jumps did not chain, the bit-23 control word.pr_overlap.py --branchfinds no conflicting files.docs/dev/debt/libSceAgc.mdhunks are around line 39 (the suspend and fused-shader entries); this branch adds one entry after line 13.known.tsvand that debt file, are clean.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code